<?php
namespace app\common\validate;

use think\Validate;

class Weblist extends Validate
{
    protected $rule = [
        'user_id|用户编号' => 'require',
        'domain|域名' => 'require',
        'webname|网站名称' => 'require',
        'user_qq|QQ号码' => 'require',
        'mail|邮箱' => 'require',
        'end_time|到期时间' => 'require',
    ];

    protected $scene = [
        'addfz' => ['user_id','domain', 'webname','user_qq','mail','end_time'],
    ];

}